Package com.cisco.pt.ipc.sim.impl
Class PolicyMapParameterImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.PolicyMapParameterImpl
- All Implemented Interfaces:
IPCObject,PolicyMapParameter
Information provided by the PKI file:
\class CPolicyMapParameter
\brief CPolicyMapParameter holds parameters configured on policy-map type inspect on the asa
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionPolicyMapParameterImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:getStatement(String statement) Information provided by the PKI file:getStatementAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:toString()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
PolicyMapParameterImpl
public PolicyMapParameterImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPolicyMapName
Information provided by the PKI file:
\brief Returns the policyMap name that is being used \return string, the policy map name.- Specified by:
getPolicyMapNamein interfacePolicyMapParameter- Returns:
- String Returns a String
-
getRunningConfig
Information provided by the PKI file:
\brief Returns the running config string representation of policy map parameter \return vector<string> returns the running config string representation of policy map parameter.- Specified by:
getRunningConfigin interfacePolicyMapParameter- Returns:
- List<String> Returns a List<String>
-
getStatementCnt
public int getStatementCnt()Information provided by the PKI file:
\brief Returns the number of statements configured under policy map parameter return int, the number of statements configured under policy map parameter.- Specified by:
getStatementCntin interfacePolicyMapParameter- Returns:
- int Returns a int
-
getStatementAt
Information provided by the PKI file:
\brief Returns the policyMap name parameter statement based on index \param index, index to get the policy map from. \return PolicyMapParameterStatement, the policyMap name parameter statement based on index- Specified by:
getStatementAtin interfacePolicyMapParameter- Parameters:
index- Takes in a parameter of index- Returns:
- PolicyMapParameterStatement Returns a PolicyMapParameterStatement
-
getStatement
Information provided by the PKI file:
\brief Returns the policy map parameter statement based on the string representation \param statement, statement to get the policy map for. \return PolicyMapParametersStatement, the policy map parameter statement based on the string representation.- Specified by:
getStatementin interfacePolicyMapParameter- Parameters:
statement- Takes in a parameter of statement- Returns:
- PolicyMapParameterStatement Returns a PolicyMapParameterStatement
-
toString
Information provided by the PKI file:
\brief Return the configuration in string \return string, the configuration as a string.- Specified by:
toStringin interfacePolicyMapParameter- Overrides:
toStringin classObject- Returns:
- String Returns a String
-